<#macro showPubHeader>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>欢迎光临浙北商务网、长兴电子商务网</title>	


</#macro>

<#macro showPubHeaderExt>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>欢迎光临浙北商务网、长兴电子商务网</title>	
    <link rel="stylesheet" type="text/css" href="${base}/ext-2.0/resources/css/ext-all.css"/>
    <script type="text/javascript" src="${base}/ext-2.0/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="${base}/ext-2.0/ext-all.js"></script>
	<script type="text/javascript" src="${base}/ext-2.0/source/locale/ext-lang-zh_CN.js"></script>
	<script type="text/javascript" >

		Ext.BLANK_IMAGE_URL = '${base}/ext-2.0/resources/images/default/s.gif';
		Ext.BLANK_ROOT = '${base}/ext-2.0';	

	</script>

</#macro>

<#macro showActionMessages><#if actionMessages?exists><#if actionMessages?has_content><#list actionMessages as msg>${msg}</#list></#if></#if></#macro>
<#macro showActionErrors><#if actionErrors?exists><#if actionErrors?has_content><#list actionErrors as msg>${msg}</#list></#if></#if></#macro>

<!-- Show page summary info -->
<#macro showPageInfo page formid url>
<div style="border:0px solid red; float:right; clear:right;margin:0 60px 0 0;width:500px;text-align:right;" >
	<script language = 'JavaScript' type="text/javascript">
		function changePage(cpage){	
			document.getElementById('page.currentPage').value = cpage;	
			document.getElementById('start').value	=(cpage-1)*document.getElementById('pageSize').value
			var url='${url}';
			var form=document.getElementById('${formid}');
			//return alert(url);
			form.method="POST";
			form.action=url;
			form.submit();
			return false;
		}
function changePage2(totalpage) {
	var input = document.getElementById('currentPage');	
	var cpage = 1;
	var currentPage = input.value;
	if (currentPage <= totalpage && currentPage.indexOf('.') == -1
			&& currentPage > 0) {
		cpage = currentPage
	} else {
		alert('请输入正确的页数！');
		return false;
	}
	changePage(cpage);
}
	</script>	
	

                
                  	
	<input type="hidden" name="pageSize"   id="pageSize" value="${page?if_exists.everyPage?if_exists}" />					
	<input type="hidden" name="start" id="start" value="${(page.currentPage-1)*page.everyPage}"  />
	<input type="hidden" name="page.currentPage" id="page.currentPage" value="${page?if_exists.currentPage?if_exists}"  />
		<#assign numPages = page.totalPage>
		<#assign thisPage = page.currentPage>     
		 
		<#if (numPages > 1 ) >
			第${thisPage}页/共${numPages}页  
			<#if (thisPage >1) >
				
				<span class="start"><a href="javascript:void(0)" onclick='javascript:changePage(1);return false;'><font color="#000">首页</font></a></span>        	
				<#assign previous = page.currentPage-1>
				<#if page.getHasPrePage()>
					<#assign previous = page.currentPage -1 >
				</#if>
				<span class="previous"><a href="javascript:void(0)" onclick='javascript:changePage(${previous});return false;'><font color="#000">上一页</font></a></span>
			<#else>				
				<span class="start"><font color="#666666">首页</font></span>&nbsp;
				<span class="previous"><font color="#666666">上一页</font></span>
			</#if>
			(${thisPage} / ${numPages})
			<#if (thisPage == numPages) >
				<span class="next"><font color="#666666">下一页</font></span>&nbsp;
				<span class="end"><font color="#666666">尾页</font></span>
			<#else>
				<#assign next = page.currentPage+1>
				<#if page.getHasNextPage()>
					<#assign next = page.currentPage + 1 >
				</#if>
				<span class="next"><a href="javascript:void(0)" onclick='javascript:changePage(${next});return false;'><font color="#000000">下一页</font></a></span>
				<span class="end"><a href="javascript:void(0)" onclick='javascript:changePage(${numPages});return false;'><font color="#000000">尾页</font></a></span> 
			</#if>
		<#else>
<span class="start"><font color="#666666">首页</font></span>&nbsp;
<span class="previous"><font color="#666666">上一页</font></span>
<span class="next"><font color="#666666">下一页</font></span>&nbsp;
<span class="end"><font color="#666666">尾页</font></span> 			
	   </#if>
	   <#assign totalRecord = page.totalRecords>
每页${page.everyPage}条/共${page.totalRecords}条
转到：<input id="currentPage" class="input_mini" type="text" size="2" maxlength="3"  />页
<input type="button" value="GO" name="gopage" onclick="changePage2(${numPages});" />
</div>
</#macro>

<#macro ellipsis text max>
  <span title="${text?if_exists}">
	<#if text?if_exists?length <=max?number>
		${text?if_exists}
	<#else>
		${text?if_exists[0..(max?number-1)]+"..."}
	</#if>
  </span>
</#macro>

<#macro showFooter>
			<div class="footer" id="footer" >
				<div style="background:url(${base}/images/topmenu_3.gif) repeat-x; border: 1px  solid #FFB062; height: 31px; width: 100%;" ></div>
				<div style="text-align:center;">

					未经书面授权严禁转载和复制本站的任何招聘信息和文章<br/>

					版权所有(C)&nbsp;长兴县人才资源开发管理办公室 长兴县人才市场 <strong>浙ICP备05002456号</strong>
					<br/>

    联系电话：0572-6043431 传真：0572-6024104 Email:zgcxrsj@163.c 地址：长兴县行政中心C座10楼1001-1003室
				</div>
			</div>
</#macro>